function toprimary(e){
    console.log(e)
    location.href='primary.html?class='+e;
}